package com.myproject.myspringboot.pojo;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @User: hsh
 * @Date: 2019/11/19 11:00
 * @Description:
 */
@Data
@Component
//@ConfigurationProperties(prefix = "person.dog")
public class Dog {

    private String dname;
    private String dage;
}
